import TitleSearch from './TitleSearch/index.vue'
import UploadImage from './uploadImage'
import { imagerror } from '@/directives'
export default {
  install(Vue) {
    // 注册全局组件
    Vue.component('TitleSearch', TitleSearch)
    Vue.component('UploadImage', UploadImage)
    Vue.directive('imagerror', imagerror)// 头像处理
  }
}

